<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>乳腺癌预测结果 - 智能诊断系统</title>
    
    <!-- Bootstrap 5 -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    
    <!-- 自定义样式 -->
    <style>
        .gradient-bg {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            min-height: 100vh;
        }
    </style>
</head>

<body class="gradient-bg">
    <!-- 主内容容器 -->
    <div class="container py-5">
        <!-- 结果展示区 -->
        <div class="card shadow-lg">
            <div class="card-body">
                <h1 class="text-center mb-4">预测结果：{{ output }}</h1>
                <div class="alert alert-info">
                    模型准确率：{{ "%.2f"|format(accuracy * 100) }}%
                </div>
            </div>
        </div>
    </div>

    <!-- 页脚 -->
    {% include "footer.html" %}

    <!-- Bootstrap JS -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>